﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Barry.Test.ViewModels
{
    public class LocationIndexViewModel
    {
        public IEnumerable<Location> Locations { set; get; }

        public dynamic Pager { set; get; }

        public LocationIndexViewModel()
        {
            Locations = new List<Location>(){
                new Location(){ Name = "南京"},
                 new Location(){ Name = "北京"},
                 new Location(){ Name = "香港"},
                 new Location(){ Name = "澳门"}, 
                 new Location(){ Name = "新乡"}
               
            };
        }

    }

    public class Location
    {

        public string Name { set; get; }
    }
}